# authentication/urls.py
from django.urls import path
from .views import RegisterView, LoginView, user_info_view, get_user_by_id_view

urlpatterns = [
    path('register/', RegisterView.as_view(), name='register'),
    path('login/', LoginView.as_view(), name='login'),
    path('user/', user_info_view, name='user_info'),
    path('user/<int:user_id>/', get_user_by_id_view, name='get_user_by_id'),
]